<?php
namespace Orx\Mailer\MailBox;
/**
 * POP3 - Orx Storage Box
 * 
 * @author Xavier VILAIN
 * @package Orx\Mailer\MailBox
 */
class Pop3 extends \Orx\Mailer\MailBox {
	
	/**
	 * Connection to the server
	 */
	public function handle() {
		if(empty($this->handler)) {
			$this->handler = new \Zend_Mail_Storage_Pop3(array(
								'host' => $this->host,
                                'user' => $this->user,
                                'password' => $this->password,
								'ssl' => $this->ssl
					));
		}
		return $this->handler;
	}
}